package com.jnzc.ocr.serv.shop.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zhangcm
 * @version 1.0, 2017-11-26
 */
@ApiModel(description = "")
public class ShopRefundSale {

	@ApiModelProperty(value = "退款ID")
    @TableId(value = "refund_id", type = IdType.INPUT)
	private Long refundId;
	@ApiModelProperty(value = "店铺ID")
	private Long shopId;
	@ApiModelProperty(value = "是否入库")
	private Boolean ifBackStock;
	@ApiModelProperty(value = "是否退货")
	private Boolean ifSign;
	@ApiModelProperty(value = "退款类型(1.全额, 2.扣费)")
	private Integer backType;
	@ApiModelProperty(value = "退款金额")
	private BigDecimal orderAmount;
	@ApiModelProperty(value = "扣费金额")
	private BigDecimal chargingAmount;
	@ApiModelProperty(value = "退款方式(1.线上退款, 2.线下退款)")
	private Integer backMethod;

	public Long getRefundId() {
		return refundId;
	}

	public void setRefundId(Long refundId) {
		this.refundId = refundId;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public Boolean getIfBackStock() {
		return ifBackStock;
	}

	public void setIfBackStock(Boolean ifBackStock) {
		this.ifBackStock = ifBackStock;
	}

	public Boolean getIfSign() {
		return ifSign;
	}

	public void setIfSign(Boolean ifSign) {
		this.ifSign = ifSign;
	}

	public BigDecimal getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}

	public BigDecimal getChargingAmount() {
		return chargingAmount;
	}

	public void setChargingAmount(BigDecimal chargingAmount) {
		this.chargingAmount = chargingAmount;
	}

	public Integer getBackType() {
		return backType;
	}

	public void setBackType(Integer backType) {
		this.backType = backType;
	}

	public Integer getBackMethod() {
		return backMethod;
	}

	public void setBackMethod(Integer backMethod) {
		this.backMethod = backMethod;
	}
}
